package com.ruoyi.shopping.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品与SKU关联对象 mall_pro_sku
 * 
 * @author ruoyi
 * @date 2024-11-20
 */
public class MallProSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品sku关联id */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long proId;

    /** skuId */
    @Excel(name = "skuId")
    private Long skuId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proId", getProId())
            .append("skuId", getSkuId())
            .toString();
    }
}
